@charset "UTF-8";
/* 公告栏轮播图 */
#notice {
  padding-top: 54px;
  width: 1280px;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

.notice-inner {
  width: 6400px;
  height: 50px;
  position: relative;
  left: 0;
  top: 0;
  background-color: red;
}

.notice-inner .img-box {
  width: 1280px;
  height: 50px;
  float: left;
  cursor: pointer;
}

.notice-inner .img-box img {
  width: 100%;
  height: 100%;
}

.notice-prve {
  width: 55px;
  height: 50px;
  background-image: url(../assert/notice_prev.png);
  background-repeat: no-repeat;
  position: absolute;
  left: 5px;
  top: 54px;
  float: left;
  cursor: pointer;
  z-index: 2;
  background-size: cover;
}

.notice-next {
  width: 55px;
  height: 50px;
  background-image: url(../assert/notice_next.png);
  background-repeat: no-repeat;
  position: absolute;
  right: 5px;
  top: 54px;
  float: left;
  cursor: pointer;
  z-index: 2;
  background-size: cover;
}

/* 大轮播图 */
#banner {
  width: 1280px;
  height: 606px;
  padding-top: 20px;
  position: relative;
  margin: 20px auto;
}

.banner-img-box {
  width: 1280px;
  height: 570px;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

.banner-img-box img {
  width: 100%;
  height: 100%;
}

.banner-img-box.active-now {
  z-index: 2;
}

.banner-img-box.active-prev {
  z-index: 1;
}

.banner-prve {
  width: 14px;
  height: 50px;
  background-image: url(../assert/banner_prev.png);
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: -24px;
  top: calc(50% - 25px);
  cursor: pointer;
  z-index: 2;
  background-size: cover;
}

.banner-next {
  width: 14px;
  height: 50px;
  background-image: url(../assert/banner_next.png);
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: -24px;
  top: calc(50% - 25px);
  cursor: pointer;
  z-index: 2;
  background-size: cover;
}

.pagination {
  transition: 0.3s opacity;
  transform: translate3d(0, 0, 0);
  height: 8px;
  width: 100%;
  text-align: center;
  line-height: 0;
  margin-top: 28px;
  position: absolute;
  bottom: 0;
}

.pagination > i {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 100%;
  background: #d1d1d1;
  cursor: pointer;
  margin: 0 5px;
  outline: none;
}

.pagination > i.active {
  background-color: green;
}

/* 通栏分类入口  */
.category {
  width: 1280px;
  margin: 20px auto;
}

.category > ul {
  width: 100%;
  height: 42px;
  display: flex;
}

.category > ul > li {
  flex: 1;
  padding-right: 16px;
  border: 1px solid #1b1b1b;
  margin-left: 20px;
}

.category > ul > li:nth-of-type(1) {
  margin: 0;
}

.category > ul > li > a {
  display: block;
  margin-bottom: 46px;
  font-size: 16px;
  font-weight: bold;
  line-height: 42px;
  text-align: center;
}

.category > ul > li > a:hover {
  color: red;
}

.category > ul > li:first-child > a {
  border: none;
}

/* 本周推荐  */
.recommend {
  width: 1280px;
  margin: auto;
}

.now-recommend {
  width: 100%;
  height: 612px;
  margin: 20px 0 20px 0;
  padding-top: 20px;
}

.now-title {
  cursor: pointer;
  margin-left: -20px;
}

.now-photo {
  margin-top: 20px;
  cursor: pointer;
}

/* 热门商品分类 */
.hot-commodity {
  width: 1280px;
  min-height: 979px;
  margin: auto;
}

.hot-commodity-title,
.hot-ranking-title {
  margin-left: -20px;
  padding: 20px 0;
}

.table_one_box {
  width: 100%;
  height: 897px;
}

.table_one_box > ul,
.table_two_box > ul {
  width: 100%;
  height: 50px;
  margin-bottom: 28px;
  display: flex;
  text-align: center;
}

.table_one_box > ul > li,
.table_two_box > ul > li {
  flex: 1;
  color: #abab;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: bold;
  font-size: 20px;
}

.table_one_box > ul > li.active,
.table_two_box > ul > li.active {
  border-bottom: 3px solid #378694;
  color: #1b1b1b;
}

.table_one_box > ol {
  width: 100%;
  height: 828px;
  position: relative;
}

.table_one_box > ol > li {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
}

.table_one_box > ol > li.active {
  display: block;
}

/* 热销排行 */
.hot-ranking {
  width: 1280px;
  margin: auto;
  padding-top: 10px;
}

.table_two_box {
  width: 100%;
  min-height: 499px;
}

.hot-ranking-list {
  position: relative;
}

.hot-ranking-list > ul {
  position: absolute;
  width: 100%;
  height: 421px;
  display: none;
}

.hot-ranking-list > ul.active {
  display: block;
}

.hot-ranking-list > ul > li {
  width: 212px;
  float: left;
  margin-right: 30px;
  margin-bottom: 25px;
  margin-left: 16px;
}

.hot-ranking-list > ul > li .pre-sale {
  height: 23px;
  margin-bottom: 5px;
  cursor: pointer;
}

.hot-ranking-list > ul > li:last-child {
  margin-right: 0;
}

.small_table_photo {
  width: 212px;
  height: 222px;
  margin-bottom: 15px;
}

.small_table_photo img {
  width: 100%;
  height: 100%;
}

.small_table_btn {
  width: 212px;
  height: 30px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap-reverse;
}

.small_table_btn > li {
  margin-right: 10px;
  cursor: pointer;
  margin-bottom: 8px;
}

.hot-ranking-list > ul > li > p {
  height: 26px;
  line-height: 26px;
  font-size: 12px;
}

.hot-ranking-list > ul > li > p:nth-of-type(1) > span {
  float: right;
}

.hot-ranking-list > ul > li > span:nth-of-type(1) {
  font-weight: bold;
  font-size: 16px;
  line-height: 16px;
}

.hot-ranking-list > ul > li > div:last-child {
  height: 31px;
  margin-top: 5px;
  background-image: url(../assert/star.png);
  background-repeat: no-repeat;
}

.hot-ranking-list > ul > li > div:last-child > span {
  padding-left: 115px;
  line-height: 31px;
}